restoreconcommand

Runtherestorecon-vfile-name|directory-namecommandtoapplythecontextchanges.Procedure5.7.ChangingaFile'sorDirectory'sType.Thefollowing ...,TherearemultiplecommandsformanagingtheSELinuxcontextforfiles,suchaschcon,semanagefcontext,andrestorecon.5.6.1.TemporaryChanges:chcon.,Thisprogramisprimarilyusedtoresetthesecuritycontext(type)(extendedattributes)ononeormorefiles.Itcanberunatanytimetocorrecterr...

5.6.2. Persistent Changes

Run the restorecon -v file-name|directory-name command to apply the context changes. Procedure 5.7. Changing a File's or Directory 's Type. The following ...

5.6. SELinux Contexts

There are multiple commands for managing the SELinux context for files, such as chcon , semanage fcontext , and restorecon . 5.6.1. Temporary Changes: chcon.

restorecon(8)

This program is primarily used to reset the security context (type) (extended attributes) on one or more files. It can be run at any time to correct errors, to ...

restorecon(8)

This manual page describes the restorecon program. This program is primarily used to set the security context (extended attributes) on one or more files. It can ...

12 Restorecon linux commands examples

2020年11月20日 — In a real sense, restorecon command in linux resets the SELinux security context for files and directories to its default values. restorecon ...

restorecon - 恢复文件的安全上下文

restorecon:恢复文件的安全上下文- 最专业的Linux命令大全,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。

restorecon Command Examples in Linux

Using the restorecon command is the most popular and preferred way of modifying the SELinux context of a file or directory. As is visible from the name of ...

10 Linux restorecon Command Examples to Restore ...

2017年5月23日 — 10 Linux restorecon Command Examples to Restore SELinux Context · 1. Restore SELinux Context of a File · 2. Display Security Context Change on ...

restorecon

This program is primarily used to set the security context (extended attributes) on one or more files. It can be run at any time to correct ...